#ifndef CFRUSTUMCLASS_H
#define CFRUSTUMCLASS_H

class CFrustumClass
{
	D3DXPLANE m_d3dPlanes[6];

public:
	CFrustumClass(void);
	CFrustumClass(const CFrustumClass&);
	~CFrustumClass(void);

	void ConstructFrustum(float fScreenDepth, D3DXMATRIX d3dProj, D3DXMATRIX d3dView);

	bool CheckPoint(float fXPos, float fYPos, float fZPos);
	bool CheckCube(float fXCenter, float fYCenter, float fZCenter, float fRadius);
	bool CheckSphere(float fXCenter, float fYCenter, float fZCenter, float fRadius);
	bool CheckRectangle(float fXCenter, float fYCenter, float fZCenter, float fXSize, float fYSize, float fZSize);
};

#endif